import request from '@/utils/request'

// 查询取衣点管理列表
export function listClothesPoint(query) {
  return request({
    url: '/clothes/clothesPoint/list',
    method: 'get',
    params: query
  })
}

// 查询取衣点管理详细
export function getClothesPoint(id) {
  return request({
    url: '/clothes/clothesPoint/' + id,
    method: 'get'
  })
}

// 新增取衣点管理
export function addClothesPoint(data) {
  return request({
    url: '/clothes/clothesPoint/add',
    method: 'post',
    data: data
  })
}

// 修改取衣点管理
export function updateClothesPoint(data) {
  return request({
    url: '/clothes/clothesPoint/edit',
    method: 'put',
    data: data
  })
}

// 删除取衣点管理
export function delClothesPoint(id) {
  return request({
    url: '/clothes/clothesPoint/remove/' + id,
    method: 'delete'
  })
}

// 导出取衣点管理
export function exportClothesPoint(query) {
  return request({
    url: '/clothes/clothesPoint/export',
    method: 'get',
    params: query
  })
}
